import json

file = "myarray.json"

with open(file,'r') as f:
    ss = json.load(f)

for s in ss:
    print(s)
    print(s["name"])
    print(s["age"])